﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace DLM.Web.ViewModel
{
    public class CountrySelectionPageView
    {
        public string SelectedCountry { get; set; }

        public string SelectedProvince { get; set; }

        public string SelectedCity { get; set; }

        public string SelectedZone { get; set; }

        public string SelectedTown { get; set; }

        public string SelectedDate { get; set; }

        public string SelectedCategory { get; set; }

        public List<SelectListItem> Categories
        {
            get
            {
                return new List<SelectListItem> 
                {
                    new SelectListItem{ Text="单身交友",Value=((int)DLM.Domain.Model.PartyType.Friend).ToString()},
                    new SelectListItem{ Text="体育活动",Value=((int)DLM.Domain.Model.PartyType.Sport).ToString()},
                    new SelectListItem{ Text="老乡活动",Value=((int)DLM.Domain.Model.PartyType.HomeTown).ToString()},
                    new SelectListItem{ Text="其他活动",Value=((int)DLM.Domain.Model.PartyType.Other).ToString()}
                };
            }
        }
    }
}
